package com.our.learning.infrastructure.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author : Ice'Clean
 * @date : 2023-06-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_question")
public class Question {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //"choice" "picture" "blank"
    private String type;
    private String content;

    public Question(String type,String content){
        this.type=type;
        this.content=content;
    }

}
